16
|
How do I refresh the control
With AxExMenu1
.Items.Add("Item 1")
.Refresh()
End With
|
15
|
How do I change the color to highligth the selected item
![](images/exmenuq15.png)
With AxExMenu1
.HighLightBorderColor = RGB(255,0,0)
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|
14
|
How do I change the drop down, popup menu foreground color
![](images/exmenuq14.png)
With AxExMenu1
.PopupForeColor = RGB(255,0,0)
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|
13
|
How do I change the drop down, popup menu background color
![](images/exmenuq13.png)
With AxExMenu1
.PopupBackColor = RGB(255,0,0)
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|
12
|
How do I change the control's shadow color
![](images/exmenuq12.png)
With AxExMenu1
.ShadowColor = RGB(255,0,0)
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|
11
|
How do I place the control on vertical
![](images/exmenuq11.png)
With AxExMenu1
.OpenMode = EXMENULib.OpenModeEnum.Horizontal
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|
10
|
How do I change the control's appearance
With AxExMenu1
.Appearance = EXMENULib.AppearanceEnum.Button
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|
9
|
How do I change the control's appearance
![](images/exmenuq9.png)
With AxExMenu1
.Appearance = EXMENULib.AppearanceEnum.Normal
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|
8
|
How do I change the visual appearance effect for the selected item, using EBN
![](images/exmenuq8.png)
With AxExMenu1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.GetOcx().SelBackColor = &H1000000
.SelForeColor = RGB(0,0,0)
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|
7
|
How do I change the colors for the selected item
![](images/exmenuq7.png)
With AxExMenu1
.SelBackColor = RGB(0,0,0)
.SelForeColor = RGB(255,255,255)
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|
6
|
How do I change the control's foreground color
![](images/exmenuq6.png)
With AxExMenu1
.ForeColor = RGB(255,0,0)
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|
5
|
How do I change the control's background color
![](images/exmenuq5.png)
With AxExMenu1
.BackColor = RGB(200,200,200)
End With
|
4
|
How can I change the control's font
![](images/exmenuq4.png)
With AxExMenu1
.Font.Name = "Tahoma"
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|
3
|
How do I change the drop down menu's border
![](images/exmenuq3.png)
With AxExMenu1
.Border = EXMENULib.BorderEnum.FlatBorder
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|
2
|
How do I change the control's border, using your EBN files
![](images/exmenuq2.png)
With AxExMenu1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.MenuBarBorder = &H1000000
.Border = &H1000000
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|
1
|
How do I change the control's border
![](images/exmenuq1.png)
With AxExMenu1
.MenuBarBorder = EXMENULib.BorderEnum.FlatBorder
.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " & _
"2[id=80])"
End With
|